package com.aoxiang.zbox.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Description:
 *
 * @author: aoxiang
 * @create: 2025-03-08 20:22
 **/

@Data
public class CreateTodoItemRequest {
    @NotEmpty(message = "内容不能为空")
    private String content;

    @Size(min = 1, message = "至少选择一个标签")
    private List<Long> labels;
}
